Automattic\Jetpack\Forms\ContactForm\Contact_Form_Endpoint D

Total Complexity 136
Dependencies 22
Dependents 0
Total lines 1,430
Lines of code 1,028
Logical lines of code 344
Comment lines 274
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
B
40 19 60
get_plugin_status()
B
39 19 59
get_item_schema()
A
28
3 211
register_routes()
A
29 1 193
resend_email()
A
46 9 37
get_status_counts()
A
45 7 42
update_item()
S
56 7 17
delete_posts_by_status()
S
50 6 27
get_service_status()
S
56 6 17
get_supported_integrations()
S
42 2 61
bulk_actions()
S
58 5 15
get_integration_metadata_fields()
S
59 5 13
update_read_status()
S
51 4 28
get_integration()
S
56 4 17
get_items_permissions_check()
S
58 4 16
delete_items_permissions_check()
S
58 4 16
modify_query_for_invalid_ids()
S
59 4 13
get_items()
S
60 3 13
get_item_permissions_check()
S
61 3 13
get_all_integrations_status()
S
60 3 13
disable_integration()
S
60 3 12
get_collection_params()
S
48 1 38
get_filters()
S
49 1 35
get_forms_config()
S
54 2 20
prepare_items_query()
S
67 3 7
bulk_action_mark_as_spam()
S
64 2 10
bulk_action_mark_as_not_spam()
S
64 2 10
get_single_integration_status()
S
65 2 8
get_integrations_metadata()
S
68 2 7